<template>
  <yd-tabbar :fixed="true">
    <yd-tabbar-item title="首页" link="/" active>
      <yd-icon name="home-outline" slot="icon" size="0.54rem"></yd-icon>
    </yd-tabbar-item>
    <yd-tabbar-item title="购物车" link="/shopping_cart">
      <yd-icon name="shopcart-outline" slot="icon" size="0.54rem"></yd-icon>
      <yd-badge slot="badge" type="danger">10</yd-badge>
    </yd-tabbar-item>
    <yd-tabbar-item title="个人中心" link="/personal_center">
      <yd-icon name="ucenter" slot="icon" size="0.54rem"></yd-icon>
      <yd-badge slot="badge" type="danger">2</yd-badge>
    </yd-tabbar-item>
  </yd-tabbar>
</template>
